home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.3
/
SetCModel.3
< prev
next >
Wrap
Text File
|
1995-07-25
|
3KB
|
67 lines
TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll((((3333))))
_________________________________________________________________
NNNNAAAAMMMMEEEE
Tk_SetColorModel, Tk_GetColorModel - access color model for
screen
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(_t_k_w_i_n, _m_o_d_e_l))))
Tk_ColorModel
TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(_t_k_w_i_n))))
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
Tk_Window _t_k_w_i_n (in) Token for window.
Tk_ColorModel _m_o_d_e_l (in) New model to use for
_w_i_n_d_o_w's screen.
_________________________________________________________________
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
These procedures allow the color model for a screen to be
read and written. See the documentation for the ttttkkkk
ccccoooolllloooorrrrmmmmooooddddeeeellll command for details on the color model and how it
is used. TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll sets the color model for the
screen associated with _t_k_w_i_n to _m_o_d_e_l. _M_o_d_e_l must be either
TTTTKKKK____CCCCOOOOLLLLOOOORRRR or TTTTKKKK____MMMMOOOONNNNOOOO. In contrast to the ttttkkkk ccccoooolllloooorrrrmmmmooooddddeeeellll
command, there are no restrictions on the value passed to
TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll (you can set the model to TTTTKKKK____CCCCOOOOLLLLOOOORRRR even if
the screen only has one bit plane). TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll
returns the current color model for the screen associated
with _t_k_w_i_n.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
color model, screen
Page 1 (printed 7/23/95)